Because the dot product should be equal to zero, you can set this equation equal to zero and solve for the parameter u. With some rearranging and a couple of substitutions, the equation becomes:
This gives you an equation for u in terms of t. The values of A and B are complicated, but they are still only constants. Their values depend on the geometry of the cylinder and the ray.
Because this equation contains two unknown values u and t, it does not hold enough information for you to solve for both values. You need another equation relating u and t. You can get one by noting that the length of vector R must equal the radius of the cylinder. Equivalently, the square of the length of vector R must equal the square of the radius.
Radius2 = (Hx - Ix)2 + (Hy - Iy) 2 +(Hz - Iz)2
Substituting the parametric values for the points H and I as before gives: